function unselectedAll(){
	var count = 0;
	jQuery("input[type=checkbox]:checked").each
	(function(){
        $(this).attr('checked', false);
	});
	return count;
}


$(function () {

	jQuery(document).bind('keydown', 'u',function (evt){ 
	 unselectedAll();
	});



$('#more_actions ul li a#unselectall').click(function(){
unselectedAll();
/*return false;
	$.blockUI(); 
	$('#category_type').attr('value', null);
	$('#button_clicked').attr('value', 'categorize');
	$('#category_id').attr('value', null);
	var request_data = add_category_info(this);
	ajax_categorize_summaries(0,$(this).text());
	
	$.post('/summaries/ajax_categorize', request_data, null, "script");  
*/	$("#more_actions_dropdown").css("visibility", "hidden");
	$('#more_actions_button').removeClass("clicked");
	//return false;
});

});